@import "define";

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, .main {
  height: 100%;
  width: 100%;
  font-size: $base-font-size;
  font-family: $base-font-family;
  font-weight: bold;
}

a {
  text-decoration: none;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

ul, ol {
  list-style: none;

  &.clearfix {
    > li {
      float: left;
    }
  }
}

input[type=text],
input[type=password] {
  &::-webkit-input-placeholder { /* WebKit browsers */
    color: rgba($base-color, 0.4);
  }

  &.base-input {
    height: 30px;
    padding: 0 5px;
    border: 1px solid $border-color;
    border-radius: $border-radius;
    color: $base-color;
    font-size: $base-font-size;
    font-family: $base-font-family;
    font-weight: bold;
  }
  &:focus {
    outline-color: $base-color;
  }
}


button.base-button {
  padding: 4px 10px;
  border: 1px solid $border-color;
  border-radius: $border-radius;
  background-color: #fff;
  color: $base-color;
  font-size: $base-font-size;
  font-family: $base-font-family;
  font-weight: bold;

  &:focus {
    outline-color: $base-color;
  }
  &:active {
    outline-color: $base-color;
    background-color: #d3d3d3;
  }
}

.base-color {
  color: $base-color;
}

.base-font-color {
  color: $base-font-color;
}

.base-content {
  height: calc(100% - #{$navbar-height});
  overflow: auto;
}
